text: Use device timestamps for obscured cursors
authorMatthias Clasen <mclasen@redhat.com>
Fri, 26 Mar 2021 02:40:30 +0000 (22:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 26 Mar 2021 14:30:33 +0000 (10:30 -0400)
commitcdfdf031b5c9e677976488a12206562a0788fffd
treede23ff4ae58007caf7f3aa84961f2df2ca9e66d3
parentf131d68fef9ba92aad1eb3d838a4b930d8f1f2bf
text: Use device timestamps for obscured cursors

Stash away the device timestamp when obscuring
the pointer, and compare it when we decice whether
to unobscure it. This fixes a problem where synthetic
motion events would make the cursor reappear
prematurely.
gtk/gtktext.c